const webpackConfigProduction = require('./webpack.config.prod')
module.exports ={
    ...webpackConfigProduction,


    devServer:{
        port: '8888',
        open: true,
        compress: true,
        liveReload: true,
        historyApiFallback:true,
        //配置代理
        proxy:{
            '/api1':{
                //目标服务器
                target:'http://127.0.0.1:8000',
                pathRewrite:{
                    "^/api1": ""
                }
            }
        }
    },

    mode:"development"
}